package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.entity.YddUserData;

import javax.servlet.http.HttpServletRequest;

public interface YddUserDataService extends IService<YddUserData> {
    /**
     * 点赞/取消点赞和收藏/取消收藏
     * @param type
     * @param article_id
     * @param action
     * @param request
     * @return
     */
    void removeByType(String type, String article_id, String action, HttpServletRequest request);
}
